/*user的数据类型*/

interface ResponseData {
  code: number
  message: string
}

////////////////////////////////////////////////////
/*账号信息的数据类型*/
export interface SYS_USER {
  userId: string
  deptId?: number
  createTime?: string
  updateTime?: string
  username: string
  nickName: string /*昵称*/
  password?: string
  remark?: string
  avatar?: string
  email?: string
  phonenumber?: string
  loginDate?: string
  status?: number
  roles?: string
  roleList?: Object[]
  newPassword?: string
  oldPassword?: string
}

/*分页返回数据类型*/
export interface UserResponseData extends ResponseData {
  data: {
    total: number
    userList: SYS_USER[]
  }
}

/*area查询的输出信息*/
interface da {
  id: number
  label: string
  children: da
}
export interface areaSelectResponseData extends ResponseData {
  data: da[]
}
